package com.erp.gather.service;

import com.ruoyi.gather.api.domain.ErpCollectProductSkuPrice;
import com.erp.gather.domain.bo.ErpCollectProductSkuPriceBo;
import com.erp.gather.domain.vo.ErpCollectProductSkuPriceVo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.web.oldPage.TableDataInfo;

import java.util.List;
import java.util.Map;

/**
 * sku价格Service接口
 *
 * @author erp
 * @date 2023-05-19
 */
public interface IErpCollectProductSkuPriceService {
	void saveSkuPrice(Long collectProductId);

	Map<String, Object> getSkuPriceByProIdAndTemId(Long productId, Integer templateId);

	TableDataInfo<ErpCollectProductSkuPriceVo> queryPageList(ErpCollectProductSkuPriceBo bo, PageQuery pageQuery);

	/**
	 * 查询sku价格
	 */
	ErpCollectProductSkuPriceVo queryById(Long id);

	Boolean insertByBo(ErpCollectProductSkuPriceBo bo);

	Boolean updateByBo(ErpCollectProductSkuPriceBo bo);

	Boolean deleteWithValidByIds(List<Long> asList, Boolean b);

	ErpCollectProductSkuPrice getBySkuCode(String skuCode);
}
